package message;

import java.nio.ByteBuffer;

@FunctionalInterface
public interface MessageBuilder {
	// 读取缓冲区并反序列化，返回是否构建完整对象
	public boolean read(ByteBuffer byteBuffer);
	
//	public default Object getValue() {
//		return null;
//	}
}
